func github.com/lucasb-eyer/go-colorful.clamp01
7 uses
github.com/lucasb-eyer/go-colorful (current package)
colors.go#L74: func clamp01(v float64) float64 {
colors.go#L81: return Color{clamp01(c.R), clamp01(c.G), clamp01(c.B)}
hsluv.go#L30: return h, clamp01(s / 100.0), clamp01(l / 100.0)
hsluv.go#L46: return clamp01(l / 100.0), c / 100.0, h
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)